package com.tanhua.dubbo.server.pojo;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "voices")
public class VoiceVo implements Serializable {
    private static final long serialVersionUID = 5602991821844230723L;

    private ObjectId id;   //主键id
    private Long created;  //创建时间
    private Long sid;     //自动增长

    private Long userId;
    private String soundUrl;  //语音文件url
}
